package org.andao.commons.lucene.core.extractor;

import java.util.List;
import java.util.Map;

import org.apache.solr.common.SolrDocumentList;

/**
 * 搜索结果抽离器
 * 
 * @author Seewo Software - Vick.liu (liuguanglin@cvte.cn)
 * 
 */
public interface DocumentListExtractor {

	/**
	 * 抽离（解析）数据
	 * 
	 * @param list
	 * @param highlightMap
	 * @return
	 */
	Object extractData(SolrDocumentList list, Map<String, Map<String, List<String>>> highlightMap);
}
